package com.youlai.boot.system.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.math.BigDecimal;

import com.youlai.boot.common.base.BaseEntity;
import lombok.*;

/**
 * @TableName sp_order
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value ="sp_order")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Order extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 264141275956824526L;
    private Long userId;
    private String username;
    private BigDecimal totalPoints;

    private String mobile;
    private String province;
    private String city;
    private String country;
    private String address;

    private Long courierId;
    private String courierName;
    private Integer status;

    @TableLogic
    private Integer isDeleted;
}